quick example for firebase