completed quantity addition function