made the special multiply function