Version 0.2.4: Made the default value for length = 0