use correct method for category