style nit: the second line here should be indented four spaces, so it lines up with the `se if(` in  `} else if (` and is indented two spaces more than the following line