doing team rating calculating