modular coding structre