adding dates class - still not sure what the purpose is