a process for producing biopolymers comprises passing nitrogen deficient wastewater through a treatment system comprising micro - organisms which grow aerobically in nitrogen deficient wastewater , and controlling the environment in the treatment system by maintaining a sufficiently stable dissolved oxygen level to thereby encourage the growth and / or activity of micro - organisms which produce the biopolymers , and recovering the biomass produced and the biopolymers .