wrote some multiplication code