added legends