working on char slice.