added missing parenthesis and semicolon