Realize simple scheduler