Changed entity to entity