updated hw05 writeup