SMS: The functioning of freshwater ecosystems