add check for getDeadline