add multiply function.