adds scoring functions