in same pan, heat oil and crackle mustard seeds, fenugreek seeds, cumin seeds and fennel seeds.
further add chopped onions, curry leaves and garlic and fry for a minute.
also add chopped tomatoes and mix well. saute till mushy.
lastly, add tamarind water, cooked beans, prepared masala paste, adjust salt and mix well.
close and cook for 20 minutes in simmer.
open and mix well. serve with rice and poriyal.