added borrowed pointers