solve the add binary problem.