add comments on evaluation function