copied point_fitting to new home :)