updated example with the datepicker