some prove of concept on firebase