just added some comments 

i was starting to forget how some of this worked and why. so i added comments