add extension to index