Made neccessary parentheses work as they should