receive characters instead of strings