Coded some of the physics.