Use correct variable in example