Change receiver/sender function to x/y coordinates