change for getDates()