make main empty
modif main
change getLength() in length
change comment and replace getLength() by length()