working x and y axis