add running flag