put x and y coordinates into single model