prototype ai, concurrent modification problem