need to change product to array