add casestate