multiply code working