add comments where to put semaphores