changing up variable ordering