Minor formatting changes and fixed a missing parentheses