Create samplecode