a structure of a bed