testing out switching pointers