minimal example of cornet