Trying another way to formulate q5