iterations of firebase