Prepared template for cate.cpp