Style: on all if clauses and similar, don't use spaces inside parenthesis (see the rest of the code).