end cases