removing unused sample code from