fixes adder example interface