before regenerating entities
after regenerate
merged