implemented the date property