improve datepicker usecase