Wrong var used in example