Studying the effects of grazing in forests and marshes