change calculation variables to new number vars