style convention: use braces { } even for one-line conditionals