First wash the rice and soaked it for half hour. take pressure cooker add oil heat it.then add whole spices saute few seconds add slice onion when onion turn light brown add ginger garlic paste saute 1-2 minutes that the raw smell goes.add green chillies.now add green peas and salt as taste.add 1/2 cup water mix well.then cover and pressure cook for 2 whistle.