The second body is called an Electronics Can. This section can be split into a number of bodies depending on the size of the tool. This can, as the name suggests, contains the electronics or "brains" of the smart pig. The Electronics Can also contains the batteries and is some cases an IMU (Inertial Measurement Unit) to tie location information to GPS coordinates. On the very rear of the tool are odometer wheels that travel along the inside of the pipeline to measure the distance and speed of the tool.