Managing and mapping variables