adding semaphore