First implementation of scoring