edit case stuff