added processing of old quantity
added display of old quantity