Method returns the wrong value. Small change.