added destructured form, make function return product, not (product)