cleaned out a lot of unnecessary code and added some comments