cleaning up part 3 hw for 9-30