getDates uses enum now