entity definition