Yahoo CEO Marissa Mayer has a huge pay package, although her company’s share price has slumped, reports Bloomberg News. She is the 23rd-highest paid executive of 200 on the Bloomberg Pay Index. Top executives often receive a pay, or compensation package that includes cash, with options to buy stock in their company, known as “stock options.”

The shares of her company, Yahoo! Inc., are down more than nine percent since February 2014. But her stock options are still worth $14 million after the stock slide, according to Bloomberg. This is because the options given to her in 2014 are valued at the company’s share price 15 months earlier.

Stock and options are given to executives to motivate them. If the company does well, the stock and options are more valuable. Both Mayer and the other shareholders earn more. Stock options are often tied to performance goals. But Mayer’s stock option arrangement is unusual. Only one other CEO in the Bloomberg Pay Index “benefits from such a structure,” wrote Bloomberg.