I had an error on using len() versus length() locally, and so commented it out for now.