working on firebase element integration. Not working yet.