change variable order