getting modular structure working