renamed length property to avoid clashes with the method