Move var to index.