Use auto-increment for pointer