revese the entities