Implemented switch statement handling