added support for creating categories