added multiply gate to module