added some notes, took out instance variables