#6 Equals operator index out of range