main added array index