implemented checkalldeadlines