entity class impl