Spread sample code