This is a bit confusing. Can you just put `var length;` on its own line?