What five defence functions merged together in 1971