tweaked code to hopefully get it working
didn't get it working