Tidying example-checkout code