minor edits and restructuring.