onions and garlic have been put in a pan