indentation issue here? (I know it doesn't matter in a bash script, but let's keep it clean)

Also: what does this tracking do exactly? I'm not familiar with this...