Changed methodname from Length() to GetLength() so that is clear what the method does