What does TER do?