output binary when a binary input