For what you're doing, you don't need the extra braces but many people still like to have them. If each section of the if/else-if/else contained more than one statement that needed to be executed...