Edited variable and calculation