implement Firebase.once