adding the date marker and styling