implement only duplication (not register table)