Moving forest functionality (needs to be cleaned up)