To design structures that can withstand earthquakes, engineers must understand the stresses caused by shaking. To this end, scientists and engineers place instruments in structures and nearby on the ground to measure how the structures respond during an earthquake to the motion of the ground beneath. Every time a strong earthquake occurs, the new information gathered enables engineers to refine and improve structural designs and building codes.