accepting x as quantity and product number