can now query a time interval