Deleted PointArray and rewritten in myPoint