Implement a method to create a swap coordinate
Refactor