Added x and y coordinates for last point