add binary string conversion