changed datetime to date, prototype for deadlines