final changes to q5