[dynamo] old code
Revert "[dynamo] old code"

This reverts commit e69ad4e771b643a2534301126b12698a9ab2e5c9.