ecosystem loop not work correctly yet