PCEA is a well established method used to ease pain in many settings such as during childbirth and bowel surgery. There have been several studies showing that PCEA is as good as and sometimes better for pain relief than PCA. PCEA may help the bowel work better by preventing ileus after surgery. However, this has never been looked at in women having major gynecologic surgery. This study will also look at whether preventing this ileus will lead to patients going home or returning to regular activities sooner.