scheduler & rest