A sample code.