first stage of scheduleUI