Added i/o to ensure that teams are being searched for properly.