switched to index work