please always use { } around if/else.