Isn't this a dup of line 184? Should it be `def limit4(value)` which appears to not be defined?