reworked item and category templates