getandcheckattributes no longer checks methods (bug fix). symbol table now implemented as linkedhashmap to retain order of inserted elements