added get xy position