subject class and representer