Aberdeen goalkeeper Jamie Langfield has signed a new two-year contract.
The 32-year-old has recently returned to top-team action following his recovery from the brain seizure he suffered almost a year ago.
He has played in the last two matches and is likely to continue in goal at Pittodrie on Wednesday against relegation-threatened Hibs.
Langfield joined the Dons in 2005 and has been involved in several Scotland squads without ever being capped.
Speaking prior to the deal being signed, manager Craig Brown rejected suggestions that Langfield was reluctant to stay as he feared being kept out the side by Jason Brown.
"He knows he is in competition and he's prepared to accept that," said the forme Scotland boss.
"As I said to him, if you have faith in your own ability, you'll accept the challenge and he has.
"If he thought he was not in contention to be number one, he would leave, but he is in strong contention."
Brown also confirmed that midfielder Stephen Hughes will remain at the club next season.