added url stuff for time queries