updated comments to explain workflow.