A gastroscopic method of treating obesity of a patient using a device adapted to stretch a part of the stomach wall of said patient. The method comprising the steps of: inserting said device into the stomach of said patient through the esophagus, placing said device in contact with the stomach wall and fixating said device to the stomach wall such that said device can stretch a part of said stomach wall.