problem 92, bad performance due to char ops.