Pass the returned data to the callback