Completed I5: dealing with order quantities