Added the index for the result message.