the canteen was almost out of action on the day they arrived because the foaming machine had had to be dismantled for emergency repairs and this necessitated opening up the canteen floor to allow a hoist to take the weight of the machine head directly below it .