private void build_departments() {
        String[] departmentName = {"Accident and Emergency", "Anaesthetics", "Breast screening","Cardiology","Chaplaincy",
                "Critical care","Diagnostic imaging","Discharge lounge","Ear nose and throat (ENT)","Elderly services department",
                "Gastroenterology","General surgery","Gynaecology","Haematology","Maternity departments","Microbiology","Neonatal unit",
                "Nephrology","Neurology","Nutrition and dietetics","Obstetrics and gynaecology units","Occupational therapy",
                "Oncology","Ophthalmology","Orthopaedics","Pain management clinics","Pharmacy","Physiotherapy","Radiotherapy",
                "Renal unit","Rheumatology","Sexual health (genitourinary medicine)","Urology"};
        for(int i=0; i<departmentName.length; i++) {
            Department newDepartment = new Department(departmentName[i]); //Dname
            allDepartments.add(newDepartment);
        }
    }