Added query timer