Changed pointers for references