added legends in the vacancy