added new query to scheduler.js