Stared some stuff for scheduler