Solution for addBinary.