added getAllAttributesInCategory method