entities & repositories