Snapshot Function Added