tweaked scheduler