Cleaning and refactoring forest life