add some utility functions
implement creation and deletion of snapshots