changes to scheduler