Broke the rendering when changing to pointers. Changing back to objects