Typo. ```lenght``` should be ```length```.  Same on the next line.