change linkstruct a class