Chned getSections() to Object[]