teams and algorithms