A system device and a method for imaging and/or for obtaining a sample from, for example, endo-luminal areas. The system may include two or more devices which may be magnetically connected in a body lumen, for example the system may include a first device which may include an imager and a transmitter for transmitting in vivo data, and a second device which may include a sampling mechanism.