legend and options