add team colors to widget
optimize core