force calculation part is revised