Added a SLEEP, is now a bit buggy