a working version of evaluation metrics