rain tpl usage for categories