Basically you create a tunnel in the musculature of the abdominal wall, Then you create a flap from the submucosa of the stomach. You draw the flap through the tunnel and suture the flap back to the stomach and this tacks the stomach in place so that it won't rotate.
