changed to my point class