added more complex and locally transformation for switch case statements, includes checking for default statements etc