Simple swap functionality is added.