HW4: Corrected accordion