commented a bunch, semaphores still dont work.