use point instead of x y