added swap function and modified cscope aliases.