adding a date field in demo