added support for characters