attempt to separate data from firebase