added browser alias; added swap function