changed critical section entry to in SEND