It's a bad idea to use 'len' as a variable name. Easily conflicts with len().