This is a matter of style, but I think it's easier on the eyes to write } else if { (without a new line in the middle).