Biodiversity and changes to ecosystems functionality