Remove duplicate lines in tutorial example