fixed so dates is represented by a list