I did a test.. First I TimerDiff't sleep(1000) 2 times result: 1: 1003.58872426523 2: 1008.31055343626 thats 3 millie seconds wrong.. Now I made my own sleep I did 2 tests with _Sleep(1000) and got the following results: 1: 1000.01117460459 2: 1000.01340952551 Very accurate! just to let people now that sleep is not so accurate... because when someone is making something wich needs very accurate sleeping my code could be better here are the tests: $11 = _Example1() $12 = _Exampl