added some notes and a few minor changes