Wastewater was added from the bottom of the reactor using a peristaltic pump. by air injection through porous stones placed close to the upper sieve and recycled through the biomass supporting material using a recycle pump, in order to obtain a homogeneous distribution of substrate and oxygen. the treated wastewater was discharged