index has finished