modifications to producer/consumer examples