Swapped locus and entity