now class Entity is the base generation object