whoops getting the date to work correctly