cleaning up

removing debugging prints as well as well as adding some more comments