Adding semaphore