should have spaces after if and around >, i.e. r > 0