added functionality so that the results can be accessed in Analysis