datepicker and gallery first try