Added tabs and switch case structure.