refactored point to be easier to use