implemented support for characters