added a datepicker, detail buttons