register snapshots + remove foreach