Device with an endoscope comprising a shaft , wherein the shaft of the endoscope encloses a working channel that opens on one side of the shaft , wherein the device comprises an instrument that is arranged so as to extend next to the shaft , wherein the device is configured in such a manner that an end section of the instrument containing a working section of the instrument can be moved along the shaft beyond the side of the shaft in order to move the working section of the instrument into a region opposite the side of the shaft so as to be able to work with the working section in the region , wherein the instrument is in engagement with a guiding element in order to guide the working section of the instrument , when the end section is being moved, beyond the side of the shaft , into the region , wherein the guiding element for guiding the working section of the instrument extends through the working channel , when the distal end section is being moved beyond the side of the shaft , wherein the instrument is a surgical instrument which is movably coupled with the guiding element such that forward movement of the guiding element in the working channel in the longitudinal extension direction of the working channel towards the side is converted into movement of the working section of the instrument away from the side , and wherein the working section can be rotated relative to the shaft about an axis extending along the longitudinal extension direction of the guiding element through the guiding element and can be pivoted about an axis extending transversely to the guiding element in order to change the orientation of the working sections arranged opposite the end face . wherein the device comprises an instrument that is arranged so as to extend next to the shaft , wherein the device is configured in such a manner that an end section of the instrument containing a working section of the instrument can be moved along the shaft beyond the side of the shaft in order to move the working section of the instrument into a region opposite the side of the shaft so as to be able to work with the working section in the region , wherein the instrument is in engagement with a guiding element in order to guide the working section of the instrument , when the end section is being moved, beyond the side of the shaft , into the region , wherein the guiding element for guiding the working section of the instrument extends through the working channel , when the distal end section is being moved beyond the side of the shaft , wherein the instrument is a surgical instrument which is movably coupled with the guiding element such that forward movement of the guiding element in the working channel in the longitudinal extension direction of the working channel towards the side is converted into movement of the working section of the instrument away from the side , and wherein the working section can be rotated relative to the shaft about an axis extending along the longitudinal extension direction of the guiding element through the guiding element and can be pivoted about an axis extending transversely to the guiding element in order to change the orientation of the working sections arranged opposite the end face . <EOS>