finishing scheduling and valves APIs