implement adding categories