scheduler works!

but I’m off by one for some reason that i cannot figure out why!