minor changes to char_analysis