split out calls of functions in hemlock_scheduler