some more changes, threadYield doesnt work