* hospital code: split into functions