cleaned up the Point class