changes to accordian code