callback uses a datepicker