added some methods for getting snapshots