Length() method added