add score difference calculation in groups view(no database connection yet)