try to get dates to work