change variables to integers