Changing values into variables