Use the logic from species summary. TODO: Refactor common parts