added swap string