Added datepicker code