Another failed try with switch statement.