Get pointer increment and decrement to function correctly