changing up the pointers