Added a timin time query