renaming and using domain as external module