Added function for Clayton to get x/y coordinates