added length incrementing