write the function of force​