added support for character