Grind together the grated coconut, green chillies, cumin seeds and 2 - 3 curry leaves into a coarse form.
Heat oil in a pan or a kadai.
Splutter mustard seeds.
Add black gram and rice and fry, till they turn brown.
Add red chillies and curry leaves.
Add onions and saute, till they become light brown.
Add kothamarakka and saute for 3 mins.
Add water, salt and turmeric powder.
Cook, till the vegetable is tender.
Add the ground coconut and cook for 2 - 3 mins.
:- No water should be left in the veg while adding this.
After turning off the stove, keep it covered for 2 - 3 mins.
:- Serve hot with rice.
:- A pinch of sugar can be added while boiling the vegetable.
:- A pod of garlic also can be added to the coconut.