supporting input binary code from console