all connected except for saving in firebase