x and y parameters now are first in list