before much firebase