make applyInformationFromSnapshot function