converted VADD to function within ALU