added some notes and cleaned up a little.