added freebies quantity functional