most of the switch-case are not correctly indented.