add class-by-char