fixed semaphores and started on FSSP