Adding priority to teams