Possible Fix for link increase error
Modified where the extraText variable is set

This is to make the code more easily readable hopefully