Functional Version with only one entity