format - make "if, then" consistent