Added intersection semaphore, corrected print order