changing to x y system