added global ido mode