tying into firebase