add datepicker and use json