in a pan heat 2 tbsp of oil, add chopped onions till light golden, add chopped,tomatoes cook till soften. add cashew paste, all spices, salt and cook on high flame. let masala cool down, and grind to a fine paste. now in other pan heat 2 tbsp oil,add prepared grinded paste, 1/2 cup water and cook till oil separates.