Added a swap function