adding multiply function