a black box with three compartments