finished integration. begin to optimize next.