changes to integrate orders