Fixing Lint by making string switch an if-else chain