changes in parser switch case