fixing Base class and Representation class