add getter methods to entities