some minor edits after a read through