casestudy code