add deadline scheduler, now it works