TYPE_SHALINAE: 99, TYPE_MAX: 99, The other TYPE_SOMETHING_MAX are 1 more than the previous. Should TYPE_MAX be 100?