working on datepicker and date input