thinking in auto pointer