add comments and test code for char
comment functions