Integration Optimization

Optimized the integration