learning about dates, predefined code