updated with new method for Point