Previously, railroad crews could consist of up to five members and it wasn't practical for the railroads to put them all in hotel. Therefore, the caboose also served as a rolling hotel equipped with beds, a cook stove and a bathroom, for when the train crew was away from their home terminal.