try to provide this method in the library , in a SnapshotUtils class or somthing