first draft pack_char_array implemented
second draft pack_char_array implemented