updated typedef for Point