add predict and score to verify correctness