new funcion isRunning