implemented fancy datepicker