Change order of variables