added priority to firebase