Changed things to call print_index to test cache