Mostly working scheduler