edits to section 3 and various other small changes