almost done with scheduler!