successfully return data object

I I have made it so that I successfully return a data object