rename to returnAsEntity