updated to use new date field