bug fixes and making code more inefficient and illogical as per instruction