minor edits from code review