changed legends to drop downs