add critical section