Simplified example code.