not fully working. experimenting with querying firebase. required redefining object structure on firebase