fixed syntax errors in et-add (implicitly declared variables and improperly terminated statements