ended class