Finished evaluation function.