added set_x and set_y commands