added datepicker for choosing dates