Added legend and drop lists