some of the scaffolding for scheduling stuff