apit,moving,centroid finished with new model