case extraction tool