prepare for matrix semaphores
semaphores organization works :)