done with half adder and 1-bit logic unit