Ability to pass string as a function to thenGetData.