added category info to template