a diagram of a bed