added beginning of scoring