add getCategoryClass and dynamic category listing