added getDeadline and getDeadlineDate