Cook rice until done. Heat oil in a pan add mustard seeds, cashewnuts, peanuts, channa dal, urad dal,curry leaves, red chillies, asafoetida and then finally the coconut.Fry for a couple of minutes(the colour of the coconut should not turn brown while frying) and then add to the cooked rice.Garnish with chopped coriander leaves.