Anchored to the foot restraint on the Canadarm2, STS-118 mission specialist Dave Williams removed a faulty control moment gyroscope and installed a new one with the assistance of fellow astronaut Rick Mastracchio (out of frame). The new gyroscope is one of four that are used to control the station's attitude in orbit.