added scope to index