added category classes for elements