Adding index inlet for j.messageArray