critical section changes