updated notes and deleted extra code that was scrapped