ended and closed