Code refracted

done preventing code from running issue