change 'date' to 'dates'