minor edits and more notes