working on char object