Patients aged 18 to 85 years with previous intraocular surgery or refractory glaucoma and intraocular pressure ( IOP ) of 18 mmHg in whom glaucoma drainage implant ( GDI ) surgery was planned were randomized to implantation of an AGV or a BGI .