complete assignment 2 with text edits