Cleaning code and informations about producers and consumers are shared