Added switch statement with mthods