changed quantity into qty