data and entity model