need to add new mutex for semaphore