Brought tquery back to life.