removed syntax error (copy & paste)
some automatic renaming of variables