transposition table and other things