better support for routine based scheduling