You need to use pointers instead of references if you're going to change what they point at later on (243)