added code to get training sets
added totals bar to teams