started on addChar func