Adding variable swap