added utils for switch cases with strings