working on datepicker