The mattresses were put up in front of the bunks to keep anyone from knocking their noggin on them.