add static factory method for Point