General example

See the code here.