edit case statement