missing arguments; fixing bug
checking for duplicate field and method names on data declarations