added lots of comments, took out unecessary variables
added lots of comments, took out unecessary variables
more comments