Added code for team distributer task