added swap manager