Some sample code for exercise