check points posisition and change color