added lengths travesal