Added xpt and ypt