- Ch3 sample code