moved categories to separate template