The procedure of granting consent by the parliament is usually preceded by several days of comprehensive consultations and interviews of the candidate by the parliamentary factions. The approval by the legislature is not a mere formality. Some candidates were ratified by a narrow margin and a candidate may be turned down. For instance, in 1999, Valeriy Pustovoitenko fell three votes short of being re-confirmed after he tendered his resignation at the second inauguration of President Leonid Kuchma in 1999. Kuchma chose Viktor Yushchenko as his alternative candidate. Another example is the approval of Yuriy Yekhanurov's candidacy (he fell three votes short of approval, but was confirmed on the second attempt two days later).