fixed syntax error in instatiating new object