modular merge with moduleState