real basic producer/consumer