contains in producerconsumer