Some bugs have been fixed and a new attribute (length) has been implemented