Cook on high pressure for 45 mins (can also use Bean cycle). Allow it to release pressure for 10 minutes, and then slowly release all remaining pressure. If it foams, stop and start the pressure release, or just wait a little longer for more pressure to release naturally.