it does not check stopped state