It would be better to link state retirement benefits to earnings growth