In a pan take oil & ghee, once it becomes hot add jeera, cinnamon stick, bay leaf & onions & cook it till onions become translucent, then add garlic cloves & again cook till onions become brown, then switch off the gas let the mixture cool & then remove the bay leaf & puree it.