index is no longer recreated if called multiple times