clear the sample code