factored data route declaration out of fetchingData