save prior to firebase
pre firebase