the commit of the two points