Split sample code