it was simple enough , a sort of double cage , hinged so that the two halves of it swung apart for the insertion of a thick layer of cotton wool between them , and then back together , the whole thing shaped to fit like a catcher 's mask over the patient 's nose and mouth .