use chars instead of strings