Replace show_all with index in all aspects of code.