adjusting for date formatting