partially through typing in hw4 part1, viewing changes along the way