removed gen
wtf
Changed Semaphore init