introduce UNSCHEDULED state as per #233
typos
got confused by units / unit_ids...