minor edits for readability