Index error fixed

Write array name NOT “index”…