fixed naming convention for pointA and pointB