cleaning up some stuff from homeworks 2 and 3