Added closing brace on 'if' statement.