typecasted every char_table[subscript] into int.