add refactored module