added semaphore to dmcomb