implement teams and do command