fixed some spacing and added parens to decrease ambiguity