workin on firebase