refactored forests file