Changed order of references