add lengths