Removed confusing code from example