redefine class relationships