process onion lists