Added comments since I know I am going to look at this one day and wonder what I was thinking