restructure ameli