put done interface into a module.