Changes to add functions to evaluate results