add case detail