fixed score counting to include groups, added background