multiple x and y