simplify datepicker