minor edits whole document