Adds scoring functions