Cleaning sample code