allow for conditional snapshot.