testing code for firebase