still working on the output data structure of semaphore again.