added force calculation