CheckDeadlines method implemented. Not yet tested.