oops missed one call converting from isRunning() to isValid()