Done but bad code. Don't even look...
There are race conditions.