added a T in query1