generated schedule controller