changed x and y coord