adding category rendering