add smooth and integrate files