import, adopt, and upgrade din