adding categories and footer