small change in put switch case statement