removed unnecessary functions from point struct