sustitute point by attraction