Merry Christmas to all! Can someone show me how do i prevent concurrent access to some variable between 2 or more agents? I tried to synchronize on state.schedule or an arbitrary object, but it doesn't work. Thanks in advance, Jim.