deadlines controller functionality finished