assign module at the end