add sample legend