change Length name to Len as Go convention