4th var added

Added var for backLength, tested and works