schedule querying