q5 writeup