if statements and short-circuit evaluation