sketch code, missing semaphore