Heat 2 tbsp of oil in a pan and saute the sliced onions,tomatos,curry leaves adding a pinch of salt.When the moisture has dried up and when the smell of onions comes out, add the grated coconut.Saute for a few more minutes.Take of from the stove and add the red chillie powder,coriander powder and turmeric to the hot pan.Mix well cool and grind to a very smooth paste