Use 3.4 sched.py as a starting point