slightly faster category processing