started revamp of char serialization