improved IsRunning
removed comment