add checkIsRunning()