added method on Hospital to pass divs into view