add is_running method