adding datepicker feature