removed incremental visited (no sense)
explicit commit and close