begining transition to firebase