ah, another critical section was needed!