var totalImpulse