Fixed confusion about array indexing.