Use switch instead of $methodName and use SugarCache