soak the rice in water for 15 minutes.
grind together all ingredients mentioned under "to grind" section
melt ghee in cooker, add bay leaf, cinnamon, cardamom, fennel seeds, cloves. let it crackle.
add prepared masala, chopped potatoes and fry well for a minute until raw smell goes off.
further add chopped tomatoes and fry until mushy
add turmeric powder, chilli powder, coriander powder, biryani masala and sprinkle little water(1/4 cup) and mix well.
further, add curd and mix well.
add water required(3/4th cup) and close and let it boil
now drain the rice completely and add it to the cooker.
add salt, mix well and pressure cook for 10 minutes/1 whistle whichever is first.
open, add ghee and fluff it up with fork