added precision & recall in version 2