q5 and 6