add comments to integration process; add tests for integration