ch5 fixed
ch6 SimpleIndexedTable