structure of entity done