resolved some errors and modified both the files respect to the Quantity input