finally got the dates to work