changed pointer nonsense