scheduler modifed