Replaced second arg with 'len1' and fixed the other issues