cpp-tutorial higher order model