Add code to create sample.