adding producers and consumers example