add a function to retrieve a run result in the routes