Peter Houston admits he felt confident about the possibility of becoming Heart of Midlothian's new manager.
The 54-year old, who recently stepped down from his role as Dundee United boss, spoke with Hearts director Sergejus Fedotovas regarding the role which was vacated by John McGlynn recently.
Despite the positive talks, Hearts went with Gary Locke and despite missing out on the role, Houston feels the new boss of the Edinburgh club is well-equipped for the role.
"I was confident. There was an offer made," Houston said. "Everything was subject to board approval, the board approval went with Gary.
"My agent spoke to Mr Fedotovas and that evening I had an email with regard to heads of terms, and that was to get sorted out Monday or Tuesday.
"I never heard anything Monday or Tuesday. It certainly wasn't a financial thing that was going to stop it.
"What we'd put in the heads of terms was the end of this season plus two. Hearts seemed happy with that and I'd heard that Sergejus Fedotovas was happy with that.
"It was maybe me and Gary, if there was a shortlist. If I'd got the job I would have kept Gary as first team coach. I like him as a person and I think he's developed into a very good coach."