adding value method to snapshot callback parameter