Take 2 cups of Basmati Rice in a bowl.
Wash rice well so that the dust or extra starch is removed.
Add water and rub it with your hands.
Wash rice 4-5 times.
Soak rice for 15-20 minutes.
Heat a pan and add 4 tbsp of ghee in it.
Add 3 medium size onions, sliced thinly.
Fry the onions until they turn golden brown.
Add whole spices to the remaining ghee: cumin seeds, black pepper, cloves, green cardamom, big cardamom, cinnamon stick, mace.
Fry the spices for a few seconds.
Add 4 medium sized potatoes, cut into medium pieces.
Fry the potatoes until they are cooked by 70-80%.
Add 1 tsp ginger garlic paste and fry the potatoes for another minute.
Add 1 medium sized tomato, chopped roughly.
Add 5-6 whole green chilies (if you like it spicy).
Add frozen peas and fry them for 2-3 minutes.
Add salt to taste.
Add water according to the rice:water ratio.
Boil the water, then cover the flame and cook for 5 minutes.
Reduce heat to low and stir well. Add fried onions and cover it again.