resolves #4, x and y values were swapped