refer by index instead of by pointer