change case structure