evolutionary loop working