added category support

added category support