condense text edit

problem 2