Change rg swap function name