deltaSec, removed debug, added 10ms sleep