initial hasty attempt at porting over my VBE code