implemented optimistic loop without counters collection