Added pointer incrementing and code for debugging.