added snapshotting for the pool