tmp commit. use ctype char[] as string buffer