set up case structure with comments