Save sample code