changed instance to accordion