UI and scheduler