Fix function score, add Exists