Added tQuery boilerplate