onions are being cooked in a pan with garlic and seasoning on the side,