Can you store the index of the variable here as key?