template var exchange fixed