Add evaluation function