An underlying cause of stagnating average teacher pay