extract method coorDifference