pearl had once asked why the hospital had been designed this way , and she was told that separate units helped to keep infections from spreading , but unofficially pearl wondered whether the design was just used to increase the number of staff needed to run the hospital .