trying to chnage order of the variables