a flat is used for sleeping