`input.length` should instead match one of the parameter names you have in the line above.