moved some scheduler-specific functions out of parse_models