Two sample code