add directive wrapper
adding categories directive