Code

data: Use if-statements rather than switch-statements.