Omitted a few parentheses, by usnig the ($) application operator.