add consumer and producer