add support for byte string