a black box with a window and a door