First step to modularization and packaging via distribute