multiplication, addition, output, and tester