Added semaphore