removed required type of second parameter in method 'query'