Add function getForce.