Fixed indentation.
Added space inbetween "if"'s and the opening parenthesis